togglebutton: Don't crash on click
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Aug 2020 00:09:05 +0000 (20:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 2 Aug 2020 00:09:05 +0000 (20:09 -0400)
commit74662776d44fd7baf8a4365a419cc7685743497e
tree74ffa967a95cf46d959ea1eacdeb57d73347ad44
parent0b2833f69c86b5028c92522fa2989e15d03fd5a1
togglebutton: Don't crash on click

The code used to do
if (parent_class->clicked)
  parent_class->clicked (...)
That is pointless because the parent_class never changes,
so there' no need for that if and commit 415946eb0f3b76ba25
took it out. Unfortunately, p arent_class->clicked is NULL
though, so the whole call needs to go.
gtk/gtktogglebutton.c